<%@ page contentType="text/html; charset=UTF-8" language="java"%>
<%@include file="/WEB-INF/jsp/include/header.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
	<title>仓储管理系统</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.7.1.min.js"></script>
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/easyui-1.2.5/themes/default/easyui.css">
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/js/easyui-1.2.5/themes/icon.css">
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/table.css">
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/easyui-1.2.5/jquery.easyui.min.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/easyui-1.2.5/locale/easyui-lang-zh_CN.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/easyui-1.2.5/plugins/jquery.validatebox.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/easyui-1.2.5/validatebox.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/globalMaps.js"></script>
		<script type="text/javascript">
			var miaa = '${purmi.miaa}';
			var miab = '${purmi.miab}';
			<c:forEach items="${globalUmUser.mdafs}" var="mdaf" varStatus="s">
				globalMaps.put('${mdaf}', '${mdaf}');
			</c:forEach>
		</script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/pur/purmj.js"></script>
	</head>
	<body>
		<div id="menuDiv" style="padding:5px;background:#fafafa;width:980px;"></div>
		<div id="listDiv" style="padding:3px 2px;height:30px;width:980px">
			<table>
				<tr>
					<td align="right">单号：</td>
					<td align="left"><input type="text" class="easyui-validatebox" id="purmiAa" name="miab" maxlength="20" required="true" value="${purmi.miaa}" readOnly="readonly" /></td>

					<td align="right">采购订单号：</td>
					<td align="left"><input type="text" class="easyui-validatebox" id="purmiAd" name="miad" maxlength="20" required="true" value="${purmi.miad}" readOnly="readonly"/></td>
					<td align="right">单据日期：</td>
					<td align="left"><input type="text" name="miac" id="purmiAd" class="easyui-validatebox" maxlength="20" required="true" value="${purmi.miac}" readOnly="readonly"></td>
				</tr>
			</table>
		</div>
		<!-- 表格 -->
		<table id="purmjTable" border="0" cellspacing="0" cellpadding="0" width="98%" pagination="true" remoteSort="false" singleSelect="false" idField="mjaa" showFooter="false" striped="true" url="<c:url value='/purmi/purmjList.xhtml'><c:param name="mjaa" value="${purmi.miaa}"/></c:url>">
			<thead>
				<tr align="center">
					<th field="mjab" width="70">采购订单号</th>
					<th field="mjac" width="100" >明细行号</th>
					<th field="mjad" width="100">物料编码</th>
					<th field="mjae" width="50" >仓库</th>
					<th field="mjaf" width="50" >数量</th>
					<th field="mjag" width="150">包号</th>
					<th field="mjah" width="150">Lot No Trading Unit</th>
					<th field="mjai" width="70">手册号</th>
					<th field="mjaj" width="100">Internal Lot No</th>
					<th field="mjak" width="100">Net Weight</th>
					<th field="mjal" width="50" >Gross Weight</th>
					<th field="mjam" width="50">Expirati On Date</th>
					<th field="mjan" width="50">New Lot No</th>
					<th field="mjao" width="50">New Lot No Trading Unit</th>
					<th field="mjap" width="50">New Trading Unit No</th>
					<th field="mjaq" width="50">New Customs Handbook No</th>
				</tr>
			</thead>
		</table>
		
		
	</body>
</html>